/**
 * @controller app配置和数据字典
 * @description app配置和数据字典
 */
import { Inject, Controller, Post, Body } from '@midwayjs/core';
import { Context } from '@midwayjs/koa';
import { MfAthService } from '../service/mfauth.service'
import { PageListsDTO } from '../dto/mfauth';

@Controller('/api/v1/mfauth')
export class mfauth {
  @Inject()
  ctx: Context;
  @Inject()
  MfAthService: MfAthService;
  /**
   * @summary 查询用户信息
   * @description 查询用户信息
   * @router post /api/v1/mfauth/sysUser/list
   * @response 200 baseResponse 返回结果
   */
  @Post('/sysUser/list')
  async getSysUserLists(@Body() options: PageListsDTO): Promise<any> {
    return await this.MfAthService.getSysUserLists(options);
  }

}